import request from '../../utils/request.js'

export function login(loginUser){
    return request({
        url: '/user/login',
        method: 'post',
        data: loginUser,
    })
}

// 判断用户token是否有效
export function checkToken() {
    return request({
        url: '/user/checkToken',
        method: 'get',
    })
}

